<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
*/
include_once '../include.php';

class DataBaseUtility {

 

    public static function  getConection() {

        $connection = null;
        $myhost    =  Configration::$host;
        $mydbName   =  Configration::$dbName;
        $myusername    =  Configration::$dbUserName;
        $mypassword =  Configration::$dbPassword;
        
// code for get connection object

        $connection = mysql_connect($myhost ,$myusername,$mypassword);

        mysql_select_db($mydbName, $connection);

        return $connection;
    }

} // DataBaseUtility ends here


?>
